home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part2 / cat1 / spclean.1 < prev    next >
Text File  |  1999-09-16  |  638b  |  67 lines

  1.  
  2.  
  3.  
  4. spclean(G)                     Scilab Function                     spclean(G)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   spclean - sparse matrix utility
  13.  
  14. CALLING SEQUENCE
  15.   Aclean=spclean(A [,tols])
  16.  
  17. PARAMETERS
  18.   A    : sparse matrix
  19.   Aclean
  20.        : sparse matrix
  21.   tols : optional 1 x 2 matrix tols=[abstol,reltol]
  22.  
  23. DESCRIPTION
  24.   Aclean=spclean(A,[abstol,reltol]) returns a sparse matrix Aclean where the
  25.   small entries of A are set to zero.
  26.   An entry Aij is small if abs(Aij) < abstol or
  27.    abs(Aij) <reltol*norm(A,1)
  28.  
  29. EXAMPLE
  30.   A=sparse([%eps,0.001;2,0.1])
  31.   //spclean(A,[0.002,0])
  32.  
  33. SEE ALSO
  34.   sparse, lusolve, luget, spclean
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.